/**************************************
Creates Table OB3 
******************************************/

clear
cd "C:\Users\jar68\OneDrive\Ongoing Work\Party Cues and Suspicion Paper\Final Datavserse\Figure3"
log using "figure3_tableob3.log"
use "figure3_data.dta"
set more off


/****Some Initial Cleaning*****/
label var treat_5 "Treatment Condition"
label var support01 "Policy Support"
label var stereo "Policy Stereotypicality"
encode pid_2, gen(pid)

/****Models*****/
eststo clear
eststo: regress support01 i.treat i.stereo 
eststo: regress support01 i.treat i.stereo if pid == 1
eststo: regress support01 i.treat i.stereo if pid == 2

/*****Table*****/
esttab using "figure3_table.rtf",  replace ///
	onecell label nobaselevels b(2) se star(* 0.05 ** 0.01 *** 0.001) ///
	mtitles("All Partisans" "Democrats" "Republicans") ///
	title("{\b Table OB3:} Figure 3 Analyses") 


log close
